<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript" />
	<script type="text/javascript">
		var currentMarker = null;

		function handlePointClick(event) {
			if (currentMarker === null) {
				document.getElementById('lat').value = event.latLng.lat();
				document.getElementById('lng').value = event.latLng.lng();

				currentMarker = new google.maps.Marker({
					position : new google.maps.LatLng(event.latLng.lat(),
							event.latLng.lng())
				});

				PF('map').addOverlay(currentMarker);

				PF('dlg').show();
			}
		}

		function markerAddComplete() {
			var title = document.getElementById('title');
			currentMarker.setTitle(title.value);
			title.value = "";

			currentMarker = null;
			PF('dlg').hide();
		}

		function cancel() {
			PF('dlg').hide();
			currentMarker.setMap(null);
			currentMarker = null;

			return false;
		}
	</script>
	<title><ui:insert name="title">HouseManagement</ui:insert></title>
	<link
		href="#{facesContext.externalContext.requestContextPath}/resources/style/default.css"
		rel="stylesheet" type="text/css" media="all" />
	<link
		href="#{facesContext.externalContext.requestContextPath}/resources/style/button.css"
		rel="stylesheet" type="text/css" media="all" />
	<link
		href="#{facesContext.externalContext.requestContextPath}/resources/style/login.css"
		rel="stylesheet" type="text/css" media="all" />
	<link
		href="#{facesContext.externalContext.requestContextPath}/resources/style/validation.css"
		rel="stylesheet" type="text/css" media="all" />
	<link
		href="#{facesContext.externalContext.requestContextPath}/resources/style/dropdown.css"
		rel="stylesheet" type="text/css" media="all" />
	<link
		href="#{facesContext.externalContext.requestContextPath}/resources/style/table.css"
		rel="stylesheet" type="text/css" media="all" />
	<link
		href="#{facesContext.externalContext.requestContextPath}/resources/style/other.css"
		rel="stylesheet" type="text/css" media="all" />

</h:head>

<h:body>
	<div id="header">
		<ui:insert name="header">
			<ui:include src="header.xhtml" />
		</ui:insert>
	</div>



	<div class="content" id="content1">
		<ui:insert name="content1">
		</ui:insert>
	</div>
	<br />
	<br />

	<div id="footer">
		<ui:insert name="footer">
			<ui:include src="footer.xhtml" />
		</ui:insert>
	</div>

</h:body>

</html>
